package cn.maihe.elg.operation.supports.electronicseal.kt.cloudsign.service;

import cn.maihe.elg.operation.model.dto.InnerBaseResp;
import cn.maihe.elg.operation.supports.electronicseal.kt.KtConfig;
import cn.maihe.elg.operation.supports.electronicseal.kt.cloudsign.BaseKtCloudSignService;
import cn.maihe.elg.operation.supports.electronicseal.kt.cloudsign.dto.QueryAuthReqDTO;
import cn.maihe.elg.operation.supports.electronicseal.kt.cloudsign.dto.QueryAuthRespDTO;
import cn.maihe.elg.operation.supports.electronicseal.kt.cloudsign.enums.CloudSignInterfaceEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author WJH
 * @Date 2022/09/07
 */
@Slf4j
@Service
public class QueryAuthService extends BaseKtCloudSignService<QueryAuthReqDTO, QueryAuthRespDTO> {
    public QueryAuthService(KtConfig ktConfig) {
        super(ktConfig);
    }

    @Override
    protected CloudSignInterfaceEnum serviceName() {
        return CloudSignInterfaceEnum.queryAuth;
    }

    @Override
    public InnerBaseResp<?> doRequest(String traceId, QueryAuthReqDTO reqDTO) {
        return super.doRequest(traceId, reqDTO);
    }
}
